﻿using System.Runtime.Serialization;
namespace ElectronicCommerce.Framework.Data.Utility.EntityQueryConditionBuilder
{
    /// <summary>
    /// 查询分页信息
    /// </summary>
    [DataContract]
    public class PageQueryCondition
    {
        public PageQueryCondition()
        {
            this.PageNumber = 1;
            this.PageSize = 10;
        }
        /// <summary>
        /// 当前页数
        /// </summary>
        [DataMember]
        public int PageNumber { get; set; }

        /// <summary>
        /// 页的大小
        /// </summary>
        [DataMember]
        public int PageSize { get; set; }
    }
}
